<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <title>Hello Quark</title>
    <script type="module" src="./src/index.tsx"></script>
    <style>
        body {
            margin: 0;
            display: grid;
            justify-content: center;
        }

        p {
            text-align: center;
        }
    </style>
</head>
<body>
<code-input id="codeInput"></code-input>
<p><a href="/index.vue.html">在 Vue.js 中调试（Debugging in Vue.js）</a></p>
<p><a href="/index.react.html">在 react.js 中调试（Debugging in react.js）</a></p>
</body>
<script>
    let code = document.getElementById('codeInput')
    code.addEventListener('complete', (evt) => {
        console.log(evt.detail)
    })
    code.addEventListener('change', (evt) => {
        console.log(evt.detail)
    })
</script>
</html>
